package com.tsunami.auth.component;

import com.tsunami.auth.service.auth.IResourceService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import javax.annotation.PostConstruct;

/**
 * @Classname ResourceRoleRulesHolder
 * @Description TODO 资源与角色访问对应关系操作组件
 * @Date 2021-11-24 9:16
 * @Created by lx
 */
@Component
public class ResourceRoleRulesHolder {
    @Autowired
    private IResourceService resourceService;

    @PostConstruct
    public void initResourceRolesMap(){resourceService.initResourceRolesMap();}
}
